package com.stone.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author stone
 * @date 2022/4/27 14:48
 */
@Data
public class RoleAddDTO {

    @NotNull(message = "角色名称不能为空")
    @ApiModelProperty(value = "名称", required = true)
    private String name;

    @ApiModelProperty(value = "排序")
    private Integer orderNum = 0;

    @ApiModelProperty(value = "备注")
    private String remark;

    private String token;
}
